package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.pojo.StageDefaultAndLinkOptionSavePojo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@Getter
@Setter
@ToString
public class StageDefaultAndLinkOptionSaveDTO extends BaseDTO {

    private static final long serialVersionUID = 5884505563718145953L;

    @NotNull(message = "{dto.msg.common.businessType.NotNull}")
    private Integer businessType;

    @NotNull(message = "{dto.msg.common.saasMark.NotNull}")
    private Integer saasMark;

    @NotNull(message = "{dto.msg.common.formId.NotNull}")
    private Long formId;

    /**
     * 阶段默认值和选项关联设置信息
     */
    private List<StageDefaultAndLinkOptionSavePojo> stageDefaultAndLinkOptionSavePojoList;

}
